Google\Client D

Total Complexity 146
Dependencies 27
Dependents 11
Total lines 1,245
Lines of code 612
Logical lines of code 246
Comment lines 407
Methods 68
Properties 9

Methods 68

Method Rating Maintainability Complexity Lines of code
setAuthConfig()
A
48 10 31
authorize()
A
48 8 38
__construct()
A
41 6 63
createApplicationDefaultCredentials()
A
47 7 40
createAuthUrl()
A
48 7 34
createDefaultHttpClient()
S
51 7 26
isAccessTokenExpired()
S
54 7 19
fetchAccessTokenWithRefreshToken()
S
53 6 23
setAccessToken()
S
57 5 18
fetchAccessTokenWithAssertion()
S
53 4 23
addScope()
S
64 5 9
fetchAccessTokenWithAuthCode()
S
58 4 15
verifyIdToken()
S
56 3 20
execute()
S
50 2 34
createOAuth2Service()
S
59 1 15
isAppEngine()
S
74 2 4
getConfig()
S
78 2 3
setRequestVisibleActions()
S
70 2 6
getOAuth2Service()
S
71 2 6
revokeToken()
S
75 2 4
prepareScopes()
S
71 2 6
getCache()
S
72 2 6
getRefreshToken()
S
71 2 6
getLogger()
S
71 2 6
getHttpClient()
S
71 2 6
createDefaultLogger()
S
64 2 10
getAuthHandler()
S
72 1 6
setApiFormatV2()
S
79 1 3
setUseBatch()
S
81 1 3
setHttpClient()
S
81 1 3
setConfig()
S
80 1 3
setAuthConfigFile()
S
81 1 3
setCache()
S
81 1 3
createDefaultCache()
S
82 1 3
setSubject()
S
80 1 3
setDefer()
S
81 1 3
shouldDefer()
S
82 1 3
setCacheConfig()
S
80 1 3
setLogger()
S
81 1 3
setIncludeGrantedScopes()
S
80 1 3
getScopes()
S
82 1 3
getClientSecret()
S
80 1 3
authenticate()
S
80 1 3
refreshTokenWithAssertion()
S
81 1 3
refreshToken()
S
80 1 3
useApplicationDefaultCredentials()
S
80 1 3
isUsingApplicationDefaultCredentials()
S
80 1 3
getAccessToken()
S
82 1 3
getAuth()
S
76 1 5
setAuth()
S
76 1 5
setClientId()
S
80 1 3
getClientId()
S
80 1 3
setClientSecret()
S
80 1 3
setRedirectUri()
S
80 1 3
setScopes()
S
77 1 4
getRedirectUri()
S
80 1 3
setState()
S
80 1 3
setAccessType()
S
80 1 3
setApprovalPrompt()
S
80 1 3
setLoginHint()
S
80 1 3
setApplicationName()
S
80 1 3
setDeveloperKey()
S
80 1 3
setHostedDomain()
S
80 1 3
setPrompt()
S
80 1 3
setOpenidRealm()
S
80 1 3
getLibraryVersion()
S
81 1 3
setTokenCallback()
S
80 1 3
createUserRefreshCredentials()
S
64 1 10